package tabdulin.sms.contacts;

/**
 * @author Talgat Abdulin
 *
 */
public class Contact {
    private String operator;
    private String prefix;
    private String number;
    private String name;

    public Contact() {
        
    }

    public String getName() {
        return name;
    }

    public String getNumber() {
        return number;
    }

    public String getOperator() {
        return operator;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
    
    public String toString() {
        return this.name + " (+7" + this.prefix + this.number + ")";
    }
}
